package com.shfl.servermanage.logic.service;

import com.github.pagehelper.PageInfo;
import com.shfl.servermanage.logic.model.request.AddServerRequest;
import com.shfl.servermanage.logic.model.request.RemoveByIdRequest;
import com.shfl.servermanage.logic.model.response.SysServerPageResponse;
import com.shfl.servermanage.pagehelper.Pageable;

import java.util.List;
import java.util.Map;

public interface SysServerService {
    PageInfo<SysServerPageResponse> findPage(Pageable pageable, Map<String, Object> objectMap);

    void add(AddServerRequest addServerRequest);

    void remove(RemoveByIdRequest removeByIdRequest);

    List<SysServerPageResponse> findList(Map<String, Object> objectMap);
}
